<fieldset>
<div class="form-group">
   <label class="col-sm-2 control-label" for="<?php echo $id; ?>"><?php echo $label; ?></label>
   <div class="col-sm-10">
   <input type="<?php echo $type; ?>" id="<?php echo $id; ?>" name="<?php echo $name; ?>" class="<?php echo $class; ?> <?php echo ($type == 'checkbox')?'':' form-control input-small'; ?>" value="<?php echo htmlspecialchars($value); ?>" <?php echo $attribute; ?> />
		<?php if($description !='') {?>
			<span class="help-block m-b-none"><?php echo $description; ?></span>
		<?php }?>
   </div>
</div>
</fieldset>